<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:Pixster.Slideshow">

	<LinearGradientBrush x:Key="PrimaryBorderBrush" StartPoint="0.777,-0.027" EndPoint="0.491,0.974">
		<GradientStop Color="#FF7D7D7D" Offset="0.033" />
		<GradientStop Color="#FF4D4D4D" Offset="0.036" />
		<GradientStop Color="#FF656565" Offset="0.065" />
		<GradientStop Color="#FF454545" Offset="0.069" />
		<GradientStop Color="#FF353535" Offset="0.728" />
		<GradientStop Color="#FF050505" Offset="0.987" />
		<GradientStop Color="#FF9F9F9F" Offset="0.545" />
		<GradientStop Color="#FF454545" Offset="0.381" />
		<GradientStop Color="#FF1C1C1C" Offset="0.66" />
	</LinearGradientBrush>

	<LinearGradientBrush x:Key="PrimaryBackground" StartPoint="0.805,0.015" EndPoint="0.808,0.893">
		<GradientStop Color="#FFD8DEE4" />
		<GradientStop Color="#FFBFC6CF" Offset="0.358" />
		<GradientStop Color="#FF9DA9B5" Offset="0.375" />
		<GradientStop Color="#FFCDD3D8" Offset="0.609" />
		<GradientStop Color="#FFCCDCDE" Offset="0.873" />
	</LinearGradientBrush>

	<Style x:Key="SlideShowButton" TargetType="Button">
		<Setter Property="Background" Value="Transparent"/>
		<Setter Property="Cursor" Value="Hand" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="Button">
					<ContentPresenter Margin="{TemplateBinding Padding}"/>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<!--Photo host control-->
	<Style x:Key="PhotoHost" TargetType="local:PhotoHost">
		<Setter Property="HorizontalAlignment" Value="Stretch"/>
		<Setter Property="VerticalAlignment" Value="Stretch"/>
		<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
		<Setter Property="VerticalContentAlignment" Value="Stretch"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="local:PhotoHost">
					<Grid x:Name="Root" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
						<Grid.RowDefinitions>
							<RowDefinition Height="*" />
						</Grid.RowDefinitions>
						<Image x:Name="PART_Image" HorizontalAlignment="Center" VerticalAlignment="Center"/>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="SlideShowControl" TargetType="local:SlideShowControl">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="local:SlideShowControl">
					<Grid x:Name="Root" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
                          Background="Transparent">
						<Border x:Name="PART_Host" Margin="0,5,0,5"/>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
</ResourceDictionary>
